<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/reset.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/global.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/web.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/k15.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/ucCommon.css}"/>
</head>
<body>
<header th:replace="~{commons/tag::headerBar}"></header>



<div class="container">
    <!--左侧导航栏-->
    <ul class="nav" style="width: 150px;float: left">
        <li style="padding-top: 10px;font-size: 30px;width: 150px;height: 50px">订单中心</li>
        <li  style="margin-bottom:20px ">
            <a style="font-size: 20px" th:href="@{/order/all}">我的订单</a>
        </li>
        <li style="margin-bottom:20px ">
            <a style="font-size: 20px" th:href="@{/auction/all}">我的竞拍</a>
        </li>
        <li >
            <a style="font-size: 20px" th:href="@{/user/all}">个人信息</a>
        </li>
    </ul>
    <div style="float:right;width: 938px ">
        <div style="width: 938px;height: 45px">
            <a style="padding-top:5px;line-height:45px;font-size: 25px">个人信息</a>
        </div>
            <div class="table-users" style="margin-top: 10px;overflow: auto;height: 500px">
            <table cellspacing="0" style="border-collapse: collapse;text-align: center" class="tab">
                 <tr style="height: 80px" th:each="user,orderStat:${userList}">
                     <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">用户名</td>
                     <td style="font-size: 18px; border-right: 1px solid #327a81" th:text="${user.username}"></td>
                 </tr>
                 <tr style="height: 80px" th:each="user,orderStat:${userList}">
                     <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">电话</td>
                     <td style="font-size: 18px; border-right: 1px solid #327a81" th:text="${user.cellphone}"></td>
                 </tr>

                 <tr style="height: 80px" th:each="user,orderStat:${userList}">
                     <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">邮箱</td>
                     <td style="font-size: 18px" th:text="${user.email}"></td>
                 </tr>

                <tr style="height: 80px" th:each="user,orderStat:${userList}">
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">操作</td>
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81"><a th:href="@{/user/edit/{id}(id=${user.id})}" class="ui button mini pink">编辑</a></td>
                </tr>
            </table>

            </div>


</div>

</div>

<footer th:replace="~{commons/tag::footBar}"></footer>
</body>
</html>